﻿using System;
using NUnit.Framework;
using MVCQuick.Framework.Logging;

namespace MVCQuick.Framework.Tests
{
    [TestFixture]
    public class LoggingTests
    {
        [Test]
        public void LoggerTest()
        {
            Logger.ConfigureLog4Net(System.AppDomain.CurrentDomain.BaseDirectory, 
                LogLevel.Debug, LogLevel.Warn);           

            Logger logger = Logger.GetLogger(typeof(LoggingTests));
            logger.Debug("Debug");
            logger.Error("Error");
            logger.Fatal("Fatal");
            logger.Info("Info");
            logger.Warn("warn");
        }
    }
}
